package com.xf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xf.common.core.entity.QueryRequest;
import com.xf.common.core.entity.dmp.DmpOrganization;

/**
 * 工作空间
 *
 * @author xufeng
 * @version 1.0
 * @date 2021/10/20
 */
public interface OrganizationService extends IService<DmpOrganization> {

    /**
     * 创建工作空间
     * 只有超级管理员才能创建工作空间
     * @param organization
     */
    void create(DmpOrganization organization);


    IPage<DmpOrganization> getPage(QueryRequest request, DmpOrganization organization);
}
